//
//  VideoDownLoadOperation.h
//  News
//
//  Created by lanou3g on 15/11/10.
//  Copyright © 2015年 songhaowen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class VideoModel;

typedef void(^VIDEODidUpateBlcok)(VideoModel *);
typedef void(^VIDEODidCaculateSpeedBlcok)(CGFloat, VideoModel *);

@interface VideoDownLoadOperation : NSOperation
- (instancetype)initWithDownloadVideoModel:(VideoModel *)videoModel;

@property(nonatomic, copy)VIDEODidUpateBlcok updateBlock;
@property(nonatomic, copy)VIDEODidCaculateSpeedBlcok speedBlock;
// 暂停
-(void)downloadPause;
// 恢复
-(void)downloadResume;
@end
